package com.cole.miniapp.project.mapper;

import com.cole.miniapp.project.domain.FcmBusiness;
import com.cole.miniapp.project.domain.FcmBusinessKey;
import com.cole.miniapp.project.domain.vo.FcmBusinessVO;
import com.cole.miniapp.project.vo.Parameter3;

import java.util.List;


public interface FcmBusinessMapper {
    int deleteByPrimaryKey(FcmBusinessKey key);

    int insert(FcmBusiness record);

    int insertSelective(FcmBusiness record);

    FcmBusiness selectByPrimaryKey(FcmBusinessKey key);

    int updateByPrimaryKeySelective(FcmBusiness record);

    int updateByPrimaryKey(FcmBusiness record);

    FcmBusinessVO selectBussinessUserInfoByUserId(FcmBusinessKey fcmBusinessKey);

    List<FcmBusiness> selectBusinessByUserId(Long storeUserId);

    List<FcmBusinessVO> selectStoreUserByStoreId(Parameter3 parameter3);

    List<FcmBusinessVO> selectStoreUserByStoreId2(Parameter3 parameter3);

    void updateTypeByKey(FcmBusiness fcmBusiness);
}